﻿namespace LS.Nc6.Core.Entity.System
{
    /// <summary>
    /// 通知公告表
    /// </summary>
    [SugarTable("sys_notice", TableDescription = "通知公告表")]
    public class SysNoticeEntity : EntityBaseDateDel
    {
        /// <summary>
        /// 标题
        /// </summary>

        public string Title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
      
        /// <summary>
        /// 0 通知 1=公告
        /// </summary>
        public int NoticType { get; set; }

        /// <summary>
        /// 发布人
        /// </summary>
        public long PublicUserId { get; set; }
        /// <summary>
        /// 发布人姓名
        /// </summary>
        public string PublicUserName { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime? PublicTime { get; set; }

        /// <summary>
        /// 撤回时间
        /// </summary>
        public DateTime? CancelTime { get; set; }

        /// <summary>
        /// 状态 0=草稿  1=发布 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 通知公告人员
        /// </summary>

        [SugarColumn(IsIgnore = true)]
        public long[] UserList { get; set; }

    }
   
}
